/*
 * @Author: zhangchaosen
 * @Date: 2024-06-17 10:41:23
 * @LastEditors: zhangchaosen
 * @LastEditTime: 2024-06-17 11:29:03
 * @Description: 我的考试
 */
import { RouteRecordRaw } from 'vue-router'
const Layout = () => import('@/layout/index.vue')
const foundationLayout = () => import('@/views/public/foundation.vue')

/**
 * @description 我的考试
 */
export const myExamRoute: RouteRecordRaw[] = [
  {
    path: '/my-exam',
    name: 'MyExamPage',
    component: foundationLayout,
    meta: { title: '我的考试', hidden: true },
    children: [
      {
        path: 'list',
        name: 'MyExamList',
        meta: { title: '我的考试', hidden: true },
        component: () => import('@/views/my-exam/exam/index.vue')
      }
    ]
  },
  {
    path: '/examinee-info',
    name: 'ExamineeInfo',
    component: Layout,
    meta: { title: '考生信息管理' },
    children: [
      {
        path: 'info',
        name: 'ExamineeInfoPage',
        meta: { title: '考生信息管理' },
        component: () => import('@/views/my-exam/examinee-info/index.vue')
      }
    ]
  },
  {
    path: '/examinee-grade',
    name: 'ExamineeGrade',
    component: Layout,
    meta: { title: '考生成绩管理' },
    children: [
      {
        path: 'grade',
        name: 'ExamineeGradePage',
        meta: { title: '考生成绩管理' },
        component: () => import('@/views/my-exam/examinee-info/index.vue')
      }
    ]
  }
]

export default myExamRoute
